#pragma once

#include "Waypoint.h"
#include "Trigger.h"

namespace Pathing
{
	class Pathfinder
	{
	public:
		Pathfinder( Waypoint::Vector_t& waypoints );
		
		unsigned int CurrentWaypoint();
		void CurrentWaypoint( unsigned int& currentWaypoint );

		Subject<Maths::Vector3D>& getPosition();
		Maths::Vector3D getDirection();
	protected:
		unsigned int m_currentWaypoint;
		Waypoint::Vector_t& m_waypoints;
		Subject<Maths::Vector3D> m_position;
	};
};